package com.siwei.mes.entity;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Transient;


/**
 * 上海协会供货任务(Shxhgh)实体类
 *
 * @author dmwang
 * @since 2024-06-20 11:08:43
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_shxhgh")
@ApiModel(value = "Shxhgh", description = "上海协会供货任务")
public class Shxhgh implements Serializable {
    private static final long serialVersionUID = 141004735769817782L;
    /**
     * id
     */
    @Id
    @ApiModelProperty(value = "上海协会供货任务主键ID", name = "id")
    private Long id;
    /**
     * 供货时间
     */
    @Column(name = "import_date")
    @ApiModelProperty(value = "供货时间", name = "importDate")
    private Date importDate;
    /**
     * 原材料类型
     */
    @Column(name = "item_id")
    @ApiModelProperty(value = "原材料类型", name = "itemId")
    private Integer itemId;
    /**
     * 样品名称编号
     */
    @Column(name = "sampleId")
    @ApiModelProperty(value = "样品名称编号", name = "sampleId")
    private Integer sampleId;
    /**
     * 供货编号
     */
    @Column(name = "import_id")
    @ApiModelProperty(value = "供货编号", name = "importId")
    private String importId;
    /**
     * 生产厂家
     */
    @Column(name = "factory_name")
    @ApiModelProperty(value = "生产厂家", name = "factoryName")
    private String factoryName;
    /**
     * 批次
     */
    @Column(name = "record_certificate")
    @ApiModelProperty(value = "批次", name = "recordCertificate")
    private String recordCertificate;
    /**
     * 数量
     */
    @Column(name = "prodin_quan")
    @ApiModelProperty(value = "数量", name = "prodinQuan")
    private String prodinQuan;
    /**
     * 数量单位
     */
    @Column(name = "prodin_unit")
    @ApiModelProperty(value = "数量单位", name = "prodinUnit")
    private String prodinUnit;
    /**
     * 报告编号
     */
    @Column(name = "report_id")
    @ApiModelProperty(value = "报告编号", name = "reportId")
    private String reportId;

    //id集合
    @Transient
    private List<Long> ids;
}
